﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using JXT.PrimaryKey.Batman.Web.Mvc.Models;

namespace JXT.PrimaryKey.Batman.Web.Mvc.Results
{
    public class MessageResult : ViewResult
    {
        public MessageResult()
        {
            ViewName = "message";
        }

        public ViewMessage Message
        {
            get { return ViewData.Model as ViewMessage; }
            set { ViewData.Model = value; }
        }
    }
}
